<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
    <style>

    </style>
</head>
<body>

    <div id="app">

        <table>
            <tr>
                <th>序号</th>
                <th>姓名</th>
                <th>年龄</th>
                <th>tel</th>
            </tr>
            <tr v-for="(user,i) in users" :key="i">
                <td>{{i+1}}</td>
                <td v-for="value in user">{{value}}</td>
            </tr>
        </table>

    </div>

</body>
<script>
    new Vue({
        el:"#app",
        data:{
            users:[
                {
                    name:"小米",
                    age:20,
                    tel:110
                },
                {
                    name:"小李",
                    age:20,
                    tel:111
                },
                {
                    name:"小亲",
                    age:20,
                    tel:112
                },
            ]
        }
    })
</script>
</html>